package cn.ihoway.service;

import cn.ihoway.entity.Allocation;

import java.util.ArrayList;
import java.util.List;

public interface AllocationService {
    Allocation search(String sessionId);
    int delete(String sessionId);
    //查询同一房间内指定起始编号和末尾编号的用户信息
    ArrayList<Allocation> searchMore(String roomId, Integer start, Integer end);
    //查询同一房间内全部用户信息
    List<Allocation> searchMore(String roomId);
    int update(Allocation allocation);
}
